//
//  HELMeHeader.h
//  HandheldELearn
//
//  Created by wsj2015 on 2017/1/6.
//  Copyright © 2017年 陈武琦. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface HELMeHeader : UIView

@property (nonatomic,  strong) dispatch_source_t timer;
@property (weak, nonatomic) IBOutlet UIButton *iconBtn;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *avarBottom;

+ (instancetype)header;
@property (weak, nonatomic) IBOutlet UIImageView *bgimg;

@property (weak, nonatomic) IBOutlet UIButton *loginBtn;

@property (nonatomic, copy) void (^logBlock)( );
@property (nonatomic, copy) void (^changeHeader)( );
@property (nonatomic, copy) void (^personInfoBlock)( );
@property (nonatomic, copy) void (^scoreRecordBlock)( );

- (void)scrollerChangeImageWithoffsetY:(CGFloat)offsetY;

@end
